#pragma once
#include "Canvas.h"
#include "Sprite.h"

class CSpriteCanvas : public CCanvas
{
public:
	CSpriteCanvas(void);
	~CSpriteCanvas(void);

	void AddSprite(CSprite *pSprite);
	
	virtual void Tick();

	virtual void RenderSprite(CDC *pDC);

	virtual void OnRemoveSprite(CSprite *pSprite) {};

protected:
	list<CSprite *> m_listSprite;
	DWORD m_dwTickCount;
};

